@deep: ~'>>>';

.content-wrap {
  .w0 {
    width: 0!important;
    padding: 0;
    margin: 0;
    display: none !important;
  }

  .l0 {
    left: 0!important;
  }

  .r0 {
    right: 0!important;
  }

  .content-box {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .content-box {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .content-left,
  .content-right,
  .content-center {
    position: absolute;
    top: 0;
    bottom: 0;
  }

  .content-left,
  .content-right {
    width: 25%;
  }
}

// 左边部分
.content-left {
  left: 0;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  box-sizing: border-box;

  .filter-wrap {
    padding: 10px;
    border-bottom: none;

    @{deep} .ivu-btn {
      margin-right: 10px;
    }
  }

  .table-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .table-item {
      flex: 1;
    }

    .page-box {
      position: relative;
      padding: 10px 0;
    }

    .reset-btn {
      position: absolute;
      top: 4px;
      right: 50%;
      margin-right: -115px;
      font-size: 24px;
      cursor: pointer;
    }
  }
}

// 中间部分
.content-center {
  left: 25%;
  right: 25%;
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  box-sizing: border-box;

  overflow: hidden;

  .top-box {
    flex: 1;
    margin-bottom: 10px;
  }

  .bottom-box {
    flex: 1;
  }
}

// 右边部分
.content-right {
  right: 0;
  display: flex;
  flex-direction: column;
  padding-right: 10px;
  box-sizing: border-box;

  .top-box {
    flex: 1;
    margin-bottom: 10px;
    overflow: hidden;

    .title-text {
      line-height: 24px;
    }

    .chart-box {
      overflow: hidden;
    }
  }

  .detail-box {
    min-height: 130px;
    overflow-y: auto;
    padding: 0 10px;
  }

  .tips {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 8px;
  }
}

@{deep} .ivu-card-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  .chart-box {
    position: relative;
    flex: 1;
  }
}

.card-head {
  position: relative;

  .collapse-icon {
    position: absolute;
    top: 4px;
    cursor: pointer;
  }

  .collapse-left-icon {
    left: 0;
  }

  .collapse-right-icon {
    right: 0;
  }

  @{deep} .ivu-select {
    text-align: left;
  }
}

.single-table-modal {
  @{deep} .ivu-modal-body {
    padding: 10px;
  }
}
